<?php get_header();?>
<body>
<div id="topbg"></div>
<div id="container">
	<div id="header">
    	<?php include TEMPLATEPATH.'/controllers/banner/controller-banner.php';?>
        <?php require_once TEMPLATEPATH.'/views/menu/view-menu.php';?>
    </div>
    
    <div id="mid">
    	<div id="box-content">
            <!-- begin breadcrumb -->
            <?php require_once TEMPLATEPATH.'/views/breadcrumb/view-breadcrumb.php';?>
            <!-- end #breadcrumb -->
            
            <div id="content" class="pages-tour">
                <!-- Begin slideshow -->
                <?php include TEMPLATEPATH.'/views/slideshow/view-slide-show.php';?>
                <!-- End slideshow -->   
                
                <?php include TEMPLATEPATH.'/views/tour/view-search-tour.php';?>
                             
               <div class="tabs-2">
                    <span class="title">NEW TOUR</span>
                      <div class="side-danh-muc-top">
                    <?php require_once TEMPLATEPATH.'/views/menu/view-tab-tour.php';?>
                    </div>
                  <div class="side-danh-muc-bot">
                    <span class="top-tabs-2"></span>
                    <div class="box-tabs">
                    	<input type="hidden" id="text_loading" name="text_loading" value="<?php bloginfo('template_url');?>/images/index.jpg">
                    	<input type="hidden" name="myprocess_url" id="myprocess_url" value="<?php bloginfo('home');?>/process-request">
		                <input type="hidden" name="myprocess_show" id="myprocess_show" value="">
		                <input type="hidden" name="myprocess_page" id="myprocess_page" value="tours">
		                
                        <div id="country5" class="tabcontent">
                            <?php
		                		$html = null;
		                		$num_post	= 18;
		                		$post_type	= 'tour';
		                		$taxonomy	= 'category';
		                		$field		= 'slug';
		                		$term		= 'in-viet-nam';
		                		$metakey	= $wpdb->prefix.'display';
		                		$metavalue  = 'display';
		                		$hotels = db_query_posts_in_terms_child_nopage($num_post, $post_type, $taxonomy, $field, $term, $metakey, $metavalue);
		                		query_posts($hotels); 
		                		$html.='<ul>';     	                    	
		                        require_once TEMPLATEPATH.'/views/tour/loop-tour.php';                         
		                        $html.='</ul>';
		                        echo $html;
		                    ?>
                            <div class="paging">
					            <!-- thêm hoặc bỏ  hide vào prev hoặc next khi ở đầu hoặc cuối-->
					            <a class="page-numbers" href="#"><img alt="" src="images/prev.jpg" /></a>
					            <span class="page-numbers current"><span>1</span></span>
					            <a class="page-numbers" href="#">2</a>
					            <a class="page-numbers" href="#">3</a>
					            <a class="page-numbers" href="#">4</a>
					            <a class="page-numbers" href="#"><img alt="" src="images/next.jpg" /></a>
							</div>
                        </div>
                        <div id="country6" class="tabcontent">
                            
                        <div class="paging">
				            <!-- thêm hoặc bỏ  hide vào prev hoặc next khi ở đầu hoặc cuối-->
				            <a class="page-numbers hide" href="#"><img alt="" src="images/prev.jpg" /></a>
				            <span class="page-numbers current"><span>1</span></span>
				            <a class="page-numbers" href="#">2</a>
				            <a class="page-numbers" href="#">3</a>
				            <a class="page-numbers" href="#">4</a>
				            <a class="page-numbers" href="#"><img alt="" src="images/next.jpg" /></a>
						</div>
                        </div>
                        <div id="country7" class="tabcontent">
                            
                        <div class="paging">
				            <!-- thêm hoặc bỏ  hide vào prev hoặc next khi ở đầu hoặc cuối-->
				            <a class="page-numbers hide" href="#"><img alt="" src="images/prev.jpg" /></a>
				            <span class="page-numbers current"><span>1</span></span>
				            <a class="page-numbers" href="#">2</a>
				            <a class="page-numbers" href="#">3</a>
				            <a class="page-numbers" href="#">4</a>
				            <a class="page-numbers" href="#"><img alt="" src="images/next.jpg" /></a>
						</div>
                        </div>
                        <div id="country8" class="tabcontent">
                            
                        <div class="paging">
				            <!-- thêm hoặc bỏ  hide vào prev hoặc next khi ở đầu hoặc cuối-->
				            <a class="page-numbers hide" href="#"><img alt="" src="images/prev.jpg" /></a>
				            <span class="page-numbers current"><span>1</span></span>
				            <a class="page-numbers" href="#">2</a>
				            <a class="page-numbers" href="#">3</a>
				            <a class="page-numbers" href="#">4</a>
				            <a class="page-numbers" href="#"><img alt="" src="images/next.jpg" /></a>
						</div>
                        </div>
                    </div>
                    <span class="bottom-tabs-2"></span>
                  </div>  
               </div>
            </div>
        </div>
        
        <?php get_sidebar();?>
    </div>
    
    <?php include TEMPLATEPATH.'/views/testimonial/view-home-testimonial.php';?>
    <?php get_footer('tour');?>
